package com.example.gemfire;

import org.apache.geode.cache.client.ClientRegionShortcut;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.data.gemfire.config.annotation.ClientCacheApplication;
import org.springframework.data.gemfire.config.annotation.EnableEntityDefinedRegions;
import org.springframework.data.gemfire.repository.config.EnableGemfireRepositories;

@SpringBootApplication
@ClientCacheApplication(name = "CitiGemFireApplication", logLevel = "error")
@EnableEntityDefinedRegions(basePackages = {"com.example.gemfire.domain"}, clientRegionShortcut = ClientRegionShortcut.LOCAL)
@EnableGemfireRepositories
public class GemfireApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(GemfireApplication.class, args);
    }

}

